package com.twu.biblioteca;

import java.util.ArrayList;

/**
 * Created with IntelliJ IDEA.
 * User: twer
 * Date: 5/15/13
 * Time: 4:55 PM
 * To change this template use File | Settings | File Templates.
 */
public class BibliotecaModel {

    private static ArrayList<Book> books = new ArrayList<Book>();

    static {
        initBooks();
    }

    private static void initBooks() {
        books.add(new Book(1, "Continuous Delivery"));
        books.add(new Book(2, "Clean Code"));
        books.add(new Book(3, "Agile"));
    }

    public static ArrayList<Book> getBooks() {
        return books;
    }
}
